package com.gengzp.common.model.nacos.resp;

import com.gengzp.common.document.annotations.ApiModel;
import com.gengzp.common.document.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName PageServiceInstanceResp
 * @Description 分页查询服务实例相应信息
 * @Author gengzp
 * @Date 2025/5/31 14:38
 */
@Data
@ApiModel(description = "分页查询服务实例相应信息")
public class PageServiceInstanceResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1139142479779440638L;

    /**
     * 服务名
     */
    @ApiModelProperty(value = "服务名")
    private String serviceName;

    /**
     * 集群数量
     */
    @ApiModelProperty(value = "集群数量")
    private Integer clusterCount;

    /**
     * 分组名称
     */
    @ApiModelProperty(value = "分组名称")
    private String groupName;

    /**
     * 健康实例数
     */
    @ApiModelProperty(value = "健康实例数")
    private Integer healthyInstanceCount;

}
